﻿@model Beeldbankmvc.Models.EditAccountModel
@using Beeldbankmvc.Code
@{
    ViewBag.Title = "Gebruiker details";
    Layout = "~/Views/Shared/Layout.old.cshtml";
    Html.RenderAction("AdminMenu", "Miscellaneous");
}

<h1>@ViewBag.Title</h1>
<fieldset>
    <legend style="display: none;">Velden</legend>

    <div class="display-label">@Html.LabelFor(model => model.UserId)</div>
    <div class="display-field">@Model.UserId&nbsp;</div>

    <div class="display-label">Naam</div>
    <div class="display-field">
        @Model.FirstName
        @Model.Prepositions
        @Model.LastName&nbsp;
    </div>

    <div class="display-label">@Html.LabelFor(model => model.Email)</div>
    <div class="display-field">@Model.Email&nbsp;</div>

    <div class="display-label">@Html.LabelFor(model => model.Phone)</div>
    <div class="display-field">@Model.Phone&nbsp;</div>

    <div class="display-label">@Html.LabelFor(model => model.Address)</div>
    <div class="display-field">
        @Model.Address
        @Model.AddressNr&nbsp;<br />
        @Model.ZipCode
        @Model.City&nbsp;
    </div>

    <div class="display-label">@Html.LabelFor(model => model.Country)</div>
    <div class="display-field">@Model.Country&nbsp;</div>

    <div class="display-label">@Html.LabelFor(model => model.CompanyName)</div>
    <div class="display-field">@Model.CompanyName&nbsp;</div>

    <div class="display-label">@Html.LabelFor(model => model.FactuurAddress)</div>
    <div class="display-field">
        @Model.FactuurAddress
        @Model.FactuurAddressNr&nbsp;<br />
        @Model.FactuurZipCode
        @Model.FactuurCity&nbsp;
    </div>

    <div class="display-label">@Html.LabelFor(model => model.FactuurLand)</div>
    <div class="display-field">@Model.FactuurLand&nbsp;</div>
</fieldset>
<p>
    <a href="@Url.Action("Index", "Account")">
        <img alt="Terug naar het overzicht" title="Terug naar het overzicht" src="@AppHelper.getContent("~/Content/images/list.jpg")" />
        Terug naar het overzicht</a>
</p>

